home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / assembler.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  6.3 KB  |  196 lines

  1. object TPersHolder
  2.   P.Name = 'Assembler'
  3.   P.Extensions.Strings = (
  4.     'ASM files (*.asm)|*.asm')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       FIText = 0
  10.       FIIntNum = 1
  11.       FIFloatNum = 2
  12.       FIHexNum = 3
  13.       FISymbol = 10
  14.       UseSymbols = True
  15.       UseComments = True
  16.       UseSingleLineComments = True
  17.       UseStrings = True
  18.       UseSingleLineStrings = True
  19.       UseNumbers = True
  20.       UseSuffixedNumbers = True
  21.       UseMultipleNumSuffixes = False
  22.       UseKeywords = True
  23.       BlockDelimiters = <>
  24.       SingleLineCommentDelimiters = <
  25.         item
  26.           FontID = 4
  27.           LeftDelimiter = ';'
  28.         end>
  29.       SingleLineStringDelimiters = <
  30.         item
  31.           FontID = 5
  32.           LeftDelimiter = #39
  33.           RightDelimiter = #39
  34.         end
  35.         item
  36.           FontID = 6
  37.           LeftDelimiter = '"'
  38.           RightDelimiter = '"'
  39.         end>
  40.       NumSuffixes = <
  41.         item
  42.           LeftDelimiter = 'h'
  43.         end>
  44.       KeywordSets = <
  45.         item
  46.           FontID = 7
  47.           Name = 'OpCodes'
  48.           Keywords = 
  49.             'AAA,AAD,AAM,AAS,ADC,ADD,AND,ARPL,BOUND,BSF,BSR,BSWAP,BT,BTC,BTR,' +
  50.             'BTS,CALL,CBW,CDQ,CLC,CLD,CLI,CLTS,CMC,CMP,CMPS,CMPSB,CMPSD,CMPSW' +
  51.             ',CMPXCHG,CWD,CWDE,DAA,DAS,DEC,DIV,ENTER,ESC,F2XM1,FABS,FADD,FADD' +
  52.             'P,FBLD,FBSTP,FCHS,FCLEX,FCOM,FCOMP,FCOMPP,FCOS,FDECSTP,FDISI,FDI' +
  53.             'V,FDIVP,FDIVR,FDIVRP,FENI,FFREE,FIADD,FICOM,FICOMP,FIDIV,FIDIVR,' +
  54.             'FILD,FIMUL,FINCSTP,FINIT,FIST,FISTP,FISUB,FISUBR,FLD,FLD1,FLDCW,' +
  55.             'FLDENV,FLDL2E,FLDL2T,FLDLG2,FLDLN2,FLDPI,FLDZ,FMUL,FMULP,FNCLEX,' +
  56.             'FNDISI,FNENI,FNINIT,FNOP,FNSAVE,FNSTCW,FNSTENV,FNSTSW,FPATAN,FPR' +
  57.             'EM,FPREM1,FPTAN,FRNDINT,FRSTOR,FSAVE,FSCALE,FSETPM,FSIN,FSINCOS,' +
  58.             'FSQRT,FST,FSTCW,FSTENV,FSTP,FSTSW,FSUB,FSUBP,FSUBR,FSUBRP,FTST,F' +
  59.             'UCOM,FUCOMP,FUCOMPP,FWAIT,FXAM,FXCH,FXTRACT,FYL2X,FYL2XP1,HLT,ID' +
  60.             'IV,IMUL,IN,INC,INSB,INSD,INSW,INT,INTO,INVD,INVLPG,IRET,IRETD,JA' +
  61.             ',JAE,JB,JBE,JC,JCXZ,JE,JECXZ,JG,JGE,JL,JLE,JMP,JNA,JNAE,JNB,JNBE' +
  62.             ',JNC,JNE,JNG,JNGE,JNL,JNLE,JNO,JNP,JNS,JNZ,JO,JP,JPE,JPO,JS,JZ,L' +
  63.             'AHF,LAR,LDS,LEA,LEAVE,LES,LFS,LGDT,LGS,LIDT,LLDT,LMSW,LOCK,LODS,' +
  64.             'LODSB,LODSD,LODSW,LOOP,LOOPD,LOOPDE,LOOPDNE,LOOPDNZ,LOOPDZ,LOOPE' +
  65.             ',LOOPNE,LOOPNZ,LOOPZ,LSL,LSS,LTR,MOV,MOVS,MOVSB,MOVSD,MOVSW,MOVS' +
  66.             'X,MOVZX,MUL,NEG,NOP,NOT,OR,OUT,OUTSB,OUTSD,OUTSW,POP,POPA,POPAD,' +
  67.             'POPF,POPFD,PUSH,PUSHA,PUSHAD,PUSHF,PUSHFD,RCL,RCR,REP,REPE,REPNE' +
  68.             ',REPNZ,REPZ,RET,RETF,RETN,ROL,ROR,SAHF,SAL,SAR,SBB,SCAS,SCASB,SC' +
  69.             'ASD,SCASW,SEGCS,SEGDS,SEGES,SEGFS,SEGGS,SEGSS,SETA,SETAE,SETB,SE' +
  70.             'TBE,SETC,SETE,SETG,SETGE,SETL,SETLE,SETNA,SETNAE,SETNB,SETNBE,SE' +
  71.             'TNC,SETNE,SETNG,SETNGE,SETNL,SETNLE,SETNO,SETNP,SETNS,SETNZ,SETO' +
  72.             ',SETP,SETPE,SETPO,SETS,SETZ,SGDT,SHL,SHLD,SHR,SHRD,SIDT,SLDT,SMS' +
  73.             'W,STC,STD,STI,STOS,STOSB,STOSD,STOSW,STR,SUB,TEST,VERR,VERW,WAIT' +
  74.             ',WBINVD,XADD,XCHG,XLAT,XOR'
  75.         end
  76.         item
  77.           FontID = 8
  78.           Name = 'Operands'
  79.           Keywords = 
  80.             'AH,AL,AND,AX,BH,BL,BP,BX,BYTE,CH,CL,CS,CX,DH,DI,DL,DS,DWORD,DX,E' +
  81.             'AX,EBP,EBX,ECX,EDI,EDX,EIP,ES,ESI,ESP,FS,GS,HIGH,LOW,MOD,NOT,OFF' +
  82.             'SET,OR,PTR,QWORD,SHL,SHR,SI,SP,SS,ST,TBYTE,TYPE,WORD,XOR'
  83.         end
  84.         item
  85.           FontID = 9
  86.           Name = 'Directives'
  87.           Keywords = 
  88.             'ASSUME,COMMENT,DB,DD,DQ,DT,DW,END,ENDM,ENDP,ENDS,EQ,EQU,EXITM,EX' +
  89.             'TRN,FAR,GE,GROUP,GT,INCLUDE,LABEL,LARGE,LE,LENGTH,LOCAL,LT,MACRO' +
  90.             ',MASK,NAME,NEAR,ORG,PAGE,PROC,PUBLIC,PURGE,RECORD,REPT,SEG,SEGME' +
  91.             'NT,SHORT,SIZE,SMALL,STRUC,SUBTTL,SYMTYPE,THIS,TITLE,WIDTH'
  92.         end>
  93.     end>
  94.   P.FontTable = <
  95.     item
  96.       FontID = 0
  97.       GlobalAttrID = 'Whitespace'
  98.       Font.Charset = DEFAULT_CHARSET
  99.       Font.Color = clBlack
  100.       Font.Height = -13
  101.       Font.Name = 'Courier New'
  102.       Font.Style = []
  103.     end
  104.     item
  105.       FontID = 1
  106.       GlobalAttrID = 'Integer'
  107.       Font.Charset = DEFAULT_CHARSET
  108.       Font.Color = clGreen
  109.       Font.Height = -13
  110.       Font.Name = 'Courier New'
  111.       Font.Style = []
  112.     end
  113.     item
  114.       FontID = 2
  115.       GlobalAttrID = 'Float'
  116.       Font.Charset = DEFAULT_CHARSET
  117.       Font.Color = clGreen
  118.       Font.Height = -13
  119.       Font.Name = 'Courier New'
  120.       Font.Style = []
  121.     end
  122.     item
  123.       FontID = 3
  124.       GlobalAttrID = 'Integer'
  125.       Font.Charset = DEFAULT_CHARSET
  126.       Font.Color = clGreen
  127.       Font.Height = -13
  128.       Font.Name = 'Courier New'
  129.       Font.Style = []
  130.     end
  131.     item
  132.       FontID = 4
  133.       GlobalAttrID = 'Comment'
  134.       Font.Charset = DEFAULT_CHARSET
  135.       Font.Color = clGray
  136.       Font.Height = -13
  137.       Font.Name = 'Courier New'
  138.       Font.Style = [fsItalic]
  139.     end
  140.     item
  141.       FontID = 5
  142.       GlobalAttrID = 'String'
  143.       Font.Charset = DEFAULT_CHARSET
  144.       Font.Color = clMaroon
  145.       Font.Height = -13
  146.       Font.Name = 'Courier New'
  147.       Font.Style = []
  148.     end
  149.     item
  150.       FontID = 6
  151.       GlobalAttrID = 'String'
  152.       Font.Charset = DEFAULT_CHARSET
  153.       Font.Color = clMaroon
  154.       Font.Height = -13
  155.       Font.Name = 'Courier New'
  156.       Font.Style = []
  157.     end
  158.     item
  159.       FontID = 7
  160.       GlobalAttrID = 'Reserved words'
  161.       Font.Charset = DEFAULT_CHARSET
  162.       Font.Color = clBlue
  163.       Font.Height = -13
  164.       Font.Name = 'Courier New'
  165.       Font.Style = [fsBold]
  166.     end
  167.     item
  168.       FontID = 8
  169.       GlobalAttrID = 'Reserved words'
  170.       Font.Charset = DEFAULT_CHARSET
  171.       Font.Color = clBlue
  172.       Font.Height = -13
  173.       Font.Name = 'Courier New'
  174.       Font.Style = []
  175.     end
  176.     item
  177.       FontID = 9
  178.       GlobalAttrID = 'Reserved words'
  179.       Font.Charset = DEFAULT_CHARSET
  180.       Font.Color = clNavy
  181.       Font.Height = -13
  182.       Font.Name = 'Courier New'
  183.       Font.Style = [fsBold]
  184.     end
  185.     item
  186.       FontID = 10
  187.       GlobalAttrID = 'Delimiters'
  188.       Font.Charset = DEFAULT_CHARSET
  189.       Font.Color = clBlack
  190.       Font.Height = -13
  191.       Font.Name = 'Courier New'
  192.       Font.Style = []
  193.     end>
  194.   P.SyntaxVersion = 3
  195. end
  196.